const Joi = require('joi');

exports.loginSchema = Joi.object({
  username: Joi.string().min(6).max(30).required(),
  password: Joi.string().min(6).max(30).required(),
})

exports.signSchema = Joi.object({
  username: Joi.string().min(6).max(30).required(),
  password: Joi.string().min(6).max(30).required(),
  nickname: Joi.string().max(30).required(),
})